home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10949 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  554 b 

  1. Path: zombie.ncsc.mil!usenet
  2. From: Andy Rounds <awrounds@zombie.ncsc.mil>
  3. Newsgroups: comp.lang.c++
  4. Subject: testing the floppy
  5. Date: 11 Mar 1996 22:19:20 GMT
  6. Organization: Beyond The Great Beyond
  7. Message-ID: <4i28t8$2o6@zombie.ncsc.mil>
  8. NNTP-Posting-Host: zombie.ncsc.mil
  9.  
  10. Is there an elegent way of detecting whether there is a floppy disk
  11. in the A drive ? Currently I setdisk(0); then try and read from the 
  12. floppy. This causes a windows error and an ugly error window pops up. I'd
  13. like to be able to trap that error and popup my own error message.
  14.  
  15.  
  16.